<?php
    require './include/common.inc.php';

    checkLogin('isLogin','teacher');   //isLogin=teacher

?>

<!DOCTYPE html>
<html>
<head>
	<title>奇猿课程管理系统</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- loading mui -->
	<link rel="stylesheet" type="text/css" href="css/mui.min.css">
	<!-- loading picker -->
	<link rel="stylesheet" type="text/css" href="css/mui.picker.min.css">
	<!-- loading popicker -->
	<link rel="stylesheet" type="text/css" href="css/mui.poppicker.css">
	<!-- custorm style -->
	<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
	<!-- 导航栏 -->
	<header id="header" class="mui-bar mui-bar-nav">
		<h1 class="mui-title">奇猿老师管理系统</h1>
		<a class="mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left" href="javascript:history.go(-1)"><span class="mui-icon mui-icon-left-nav"></span></a>
		<a class="mui-icon mui-icon-bars mui-pull-right" href="#topPopover"></a>
	</header>
	<!-- 右上角弹出菜单 -->
	<div id="topPopover" class="mui-popover">
			<div class="mui-popover-arrow"></div>
			<div class="mui-scroll-wrapper">
				<div class="mui-scroll">
					<ul class="mui-table-view">
						<li class="mui-table-view-cell"><a href="query.html">我要查询</a>
						</li>
						<li class="mui-table-view-cell"><a href="rate.html">我要评价</a>
						</li>
						<li class="mui-table-view-cell"><a href="enroll.html">我要选课</a>
						</li>
						<li class="mui-table-view-cell"><a href="teacher_message.php">我要留言</a>
						</li>						
						<li class="mui-table-view-cell"><a href="teacher_center.php">个人中心</a>
						</li>
						<li class="mui-table-view-cell"><a href="login.php">退出登录</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
	<!-- 主内容部分 -->
	<div class="content">
		<section class="xueqi">
			<div class="class">
				<label id="classResult">欢迎回来！<?=$_COOKIE['name']; ?></label>
			</div>
		</section>

		<section class="query">
			<table>
				<tr>
					<td>
						<a href="teacher_query_course.php">
							<img src="img/timetable.png">
							<p>我的课程</p>
						</a>
					</td>
					<td>
						<a href="teacher_query_score.php">
							<img src="img/classroom.png">
							<p>学生成绩</p>
						</a>
					</td>
				</tr>
				<tr>
					<td>
						<a href="teacher_message_list.php">
							<img src="img/chengji.png">
							<p>我的留言</p>
						</a>
					</td>
					<td>
						<a href="teacher_query_sourse.php">
							<img src="img/room.png">
							<p>我的资料</p>
						</a>
					</td>
				</tr>
				<tr>
					<td>
						<a href="query_teacherRecord.php">
							<img src="img/book.png">
							<p>学生录</p>
						</a>
					</td>
				</tr>
			</table>
		</section>
	</div>
	<script src="js/mui.min.js"></script>
</body>
</html>